package com.txts.road.app.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 协议存储视图对象
 *
 * @author baoyr
 * @since 2025-07-17 10:46
 */
@Getter
@Setter
@Schema( description = "协议存储视图对象")
public class AgreementVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "协议ID")
    private Integer id;
    @Schema(description = "协议类型：1-用户协议，2-隐私协议，3-其他协议")
    private Integer agreementType;
    @Schema(description = "协议版本号（如：v1.0.0）")
    private String version;
    @Schema(description = "协议标题")
    private String title;
    @Schema(description = "协议内容（富文本/HTML格式）")
    private String content;
    @Schema(description = "协议pdfurl")
    private String pdfUrl;
    @Schema(description = "是否生效（0-未生效，1-已生效）")
    private Integer isActive;
    @Schema(description = "协议生效时间")
    private LocalDateTime effectiveTime;

}
